//
//  ServiceAppointmentTableViewCell.m
//  CPICMobileServiceApp
//
//  Created by sinosoft on 13-2-20.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import "ServiceAppointmentTableViewCell.h"

@implementation ServiceAppointmentTableViewCell
@synthesize lblAppointmentName,lblAppointmentTime,imgSelect,labelResult,labelAppointmentId;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        
        lblAppointmentName=[[[UILabel alloc]initWithFrame:CGRectMake(10, 0, 100, 40)]autorelease];
        lblAppointmentTime=[[[UILabel alloc]initWithFrame:CGRectMake(120, 0, 130, 40)]autorelease];
        //imgSelect=[[[UIImageView alloc]initWithFrame:CGRectMake(280, 10, 49/2, 53/2)]autorelease];
        labelResult=[[[UILabel alloc]initWithFrame:CGRectMake(250, 0, 70, 40)]autorelease];
        labelAppointmentId=[[[UILabel alloc]initWithFrame:CGRectMake(10, 30, 280, 30)]autorelease];
        [lblAppointmentName setBackgroundColor:[UIColor clearColor]];
        [lblAppointmentTime setBackgroundColor:[UIColor clearColor]];
        [labelResult setBackgroundColor:[UIColor clearColor]];
        [labelAppointmentId setBackgroundColor:[UIColor clearColor]];
        
        [self.contentView addSubview:lblAppointmentName];
        [self.contentView addSubview:lblAppointmentTime];
        //[self.contentView addSubview:imgSelect];
        [self.contentView addSubview:labelResult];
        [self.contentView addSubview:labelAppointmentId];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
